package com.mt.roll.wms.service.impl;

import com.mt.roll.core.base.BaseService;
import com.mt.roll.wms.mapper.EquipmentLocationVoMapper;
import com.mt.roll.wms.params.RobotParam;
import com.mt.roll.wms.service.EquipmentLocationService;
import com.mt.roll.wms.vo.EquipmentLocationVo;
import lombok.extern.slf4j.Slf4j;
import org.mapstruct.AfterMapping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author weihongyang
 * @Date 2021/11/15 9:25 上午
 * @Version 1.0
 */
@Transactional
@Service
@Slf4j
public class EquipmentLocationServiceImpl extends BaseService implements EquipmentLocationService {

    @Autowired
    private EquipmentLocationVoMapper equipmentLocationVoMapper;

    @Override
    public List<EquipmentLocationVo> getLayersAndColumnsByEquipmentMark(RobotParam robotParam) {
        return equipmentLocationVoMapper.getLayersAndColumnsByEquipmentMark(robotParam);
    }
}
